package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IGoodProductEvaluateFragmentModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.ProductEvaluateRequest;
import com.wgts.wgts.netmodle.resp.ProductEvaluateEntity;

public class GoodProductEvaluateFragmentModel implements IGoodProductEvaluateFragmentModel {

    private NetService netService;

    public GoodProductEvaluateFragmentModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void productEvaluate(ProductEvaluateRequest request, HttpResultSubscriber<ProductEvaluateEntity> subscriber) {
        netService.productEvaluate(request, subscriber);
    }
}
